using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;

namespace BaseData.Models.Mapping
{
    public class Web_Base_Accounts_Log_ActionMap : EntityTypeConfiguration<Web_Base_Accounts_Log_Action>
    {
        public Web_Base_Accounts_Log_ActionMap()
        {
            // Primary Key
            this.HasKey(t => t.PkId);

            // Properties
            // Table & Column Mappings
            this.ToTable("Web_Base_Accounts_Log_Action");
            this.Property(t => t.PkId).HasColumnName("PkId");
            this.Property(t => t.AccId).HasColumnName("AccId");
            this.Property(t => t.AccIdType).HasColumnName("AccIdType");
            this.Property(t => t.FromId).HasColumnName("FromId");
            this.Property(t => t.FromType).HasColumnName("FromType");
            this.Property(t => t.Memo).HasColumnName("Memo");
            this.Property(t => t.CreateDateTimes).HasColumnName("CreateDateTimes");
            this.Property(t => t.flagStatus).HasColumnName("flagStatus");
        }
    }
}
